 //判断是否通过审核
 function judgeStatus(i) {

    if (i === 0) {
        // 审核没通过
        return "images/warnStatus.png"
    } else if (i === 1) {
        return "images/up_success.png"
    }
}


// 实景列表数据请求
$.ajax({
    type: "GET",
    url: serverPort + '/ddApi/socialOb/getMyWeatherReal?openId=' + openId,
    dataType: 'json',
    success: function (res) {
        var picArr = res.data

        for (var i = 0; i < picArr.length; i++) {
            var upLidom = `
            <li>
                <div class="up-tt">
                    <p>上传于${picArr[i].picTime}</p>
                <p>
                    <span class="love">${picArr[i].supportNum}</span>
                    <span class="see">${picArr[i].lookNum}</span>
                </p>
                </div>
                <div class="up-img">
                    <img src="${picArr[i].weatherPic}" alt="">
                </div>
                <div class="up-text">
                    <p>${picArr[i].location}</p>
                    <p>天气类型：<span>${switchs(picArr[i].status + '').j}</span></p>
                </div>
                <!-- 审核情况 -->
                <img class='up-status' src=${judgeStatus(Number(picArr[i].supportStatus))} alt="">
             </li>
            `

            $('.up-content').append(upLidom)
        }

    },
    error: function (res) {
        console.log(res)
    }
})